package com.liyuan.yiqixing.service;

import com.liyuan.yiqixing.model.Comment;

public interface CommentService {
    void insertComment(Comment comment);

    Comment[] retrieveComments(Integer type, Integer targetId);

    Comment[] retrieveCommentsByUserCommentedId(Integer id);

    String retrieveCommentContentByTargetIdAndType(Integer targetId, Integer type);

    Integer retrieveCommentTargetIdById(Integer targetId);
}
